* Makefile.in: (${archlibdir}): Use `(cd foo && pwd)` instead of
authorJim Blandy <jimb@redhat.com>
Sun, 30 May 1993 19:40:39 +0000 (19:40 +0000)
committerJim Blandy <jimb@redhat.com>
Sun, 30 May 1993 19:40:39 +0000 (19:40 +0000)
`(cd foo ; pwd)` to get the canonical name of a directory; cd
might fail, and have pwd print out the current directory.

lib-src/Makefile.in

index 135b7b3d4f0c9497a4a06322510790ef3a267625..27567bdf87d52d3a22fa4e02216f563207de46ff 100644 (file)
@@ -116,7 +116,7 @@ ${archlibdir}: all
        @echo
        @echo "Installing utilities run internally by Emacs."
        ./make-path ${archlibdir}
-       if [ `(cd ${archlibdir};/bin/pwd)` != `/bin/pwd` ]; then \
+       if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \
          for file in ${UTILITIES} ${INSTALLABLES}; do \
            cp $${file} ${archlibdir} ; \
            chmod 755 ${archlibdir}/$${file} ; \